﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace thailandProject.Controllers
{
    public class PropertyController : Controller
    {
        //
        // GET: /Properties/

        public ActionResult Index()
        {
            ViewBag.Header = "Properties";

            // need a list of all properties
            return View(/*properties*/);
        }

        [HttpGet]
        public ActionResult ViewProperty(int id)
        {
            ViewBag.Header = "Property Details";

            // need a property based on an id
            return View(/*property*/);
        }
    }
}
